<include file="application/walletyhbbadmin/view/public/left.html"/>
<div id="dcMain">
    <!-- 当前位置 -->
    <div id="urHere">管理中心<b>></b><strong>新闻中心</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3>招标修改<a href="{:U('Type/zhao')}" class="actionBtn">招标列表</a></h3>
    <form action="{:U('Type/updatezhao')}" method="post" enctype="multipart/form-data">
        <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
            <tr>
                <td width="90" align="right">招标标题(中)：</td>
                <td>
                    <input type="text" id="title" name="title" value="{$info.title}" size="80" class="inpMain" />
                    <input  name="id"  value="{$info.id}" type="hidden"></td>
                </td>
            </tr>
            <tr>
                <td width="90" align="right">招标标题(英)：</td>
                <td>
                    <input type="text" id="utitle" name="utitle" value="{$info1.title}" size="80" class="inpMain" />
                    <input  name="id"  value="{$info.id}" type="hidden"></td>
                </td>
            </tr>
            <tr>
                <td width="90" align="right">招标标题(日)：</td>
                <td>
                    <input type="text" id="jtitle" name="jtitle" value="{$info2.title}" size="80" class="inpMain" />
                    <input  name="id"  value="{$info.id}" type="hidden"></td>
                </td>
            </tr>
            <tr>
                <td width="90" align="right">内容标题(中)：</td>
                <td>
                    <input type="text" id="c_title" name="c_title" value="{$info.c_title}" size="80" class="inpMain" />
                </td>
            </tr>
            <tr>
                <td width="90" align="right">内容标题(英)：</td>
                <td>
                    <input type="text" id="c_utitle" name="c_utitle" value="{$info1.c_title}" size="80" class="inpMain" />
                </td>
            </tr>
            <tr>
                <td width="90" align="right">内容标题(日)：</td>
                <td>
                    <input type="text" id="c_jtitle" name="c_jtitle" value="{$info2.c_title}" size="80" class="inpMain" />
                </td>
            </tr>
            <tr>
                <td width="90" align="right">招标内容(中)：</td>
                <td>
                    <!-- KindEditor -->
                    <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/themes/default/default.css" />
                    <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.css" />
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/kindeditor.js"></script>
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/lang/zh_CN.js"></script>
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.js"></script>
                    <script>
                        KindEditor.ready(function(K) {
                            var editor1 = K.create('textarea[name="c_content"]', {
                                cssPath : '../plugins/code/prettify.css',
                                uploadJson : '../php/upload_json.php',
                                fileManagerJson : '../php/file_manager_json.php',
                                allowFileManager : true,
                                afterCreate : function() {
                                    var self = this;
                                    K.ctrl(document, 13, function() {
                                        self.sync();
                                        K('form[name=example]')[0].submit();
                                    });
                                    K.ctrl(self.edit.doc, 13, function() {
                                        self.sync();
                                        K('form[name=example]')[0].submit();
                                    });
                                }
                            });
                            prettyPrint();
                        });
                    </script>
                    <!-- /KindEditor -->
                    <textarea id="c_content" name="c_content" style="width:780px;height:400px;" class="textArea">{$info.c_content}</textarea>
                </td>
            </tr>
            <tr>
                <td width="90" align="right">招标内容(英)：</td>
                <td>
                    <!-- KindEditor -->
                    <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/themes/default/default.css" />
                    <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.css" />
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/kindeditor.js"></script>
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/lang/zh_CN.js"></script>
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.js"></script>
                    <script>
                        KindEditor.ready(function(K) {
                            var editor1 = K.create('textarea[name="c_ucontent"]', {
                                cssPath : '../plugins/code/prettify.css',
                                uploadJson : '../php/upload_json.php',
                                fileManagerJson : '../php/file_manager_json.php',
                                allowFileManager : true,
                                afterCreate : function() {
                                    var self = this;
                                    K.ctrl(document, 13, function() {
                                        self.sync();
                                        K('form[name=example]')[0].submit();
                                    });
                                    K.ctrl(self.edit.doc, 13, function() {
                                        self.sync();
                                        K('form[name=example]')[0].submit();
                                    });
                                }
                            });
                            prettyPrint();
                        });
                    </script>
                    <!-- /KindEditor -->
                    <textarea id="c_ucontent" name="c_ucontent" style="width:780px;height:400px;" class="textArea">{$info1.c_content}</textarea>
                </td>
            </tr>
            <tr>
                <td width="90" align="right">招标内容(日)：</td>
                <td>
                    <!-- KindEditor -->
                    <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/themes/default/default.css" />
                    <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.css" />
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/kindeditor.js"></script>
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/lang/zh_CN.js"></script>
                    <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.js"></script>
                    <script>
                        KindEditor.ready(function(K) {
                            var editor1 = K.create('textarea[name="c_jcontent"]', {
                                cssPath : '../plugins/code/prettify.css',
                                uploadJson : '../php/upload_json.php',
                                fileManagerJson : '../php/file_manager_json.php',
                                allowFileManager : true,
                                afterCreate : function() {
                                    var self = this;
                                    K.ctrl(document, 13, function() {
                                        self.sync();
                                        K('form[name=example]')[0].submit();
                                    });
                                    K.ctrl(self.edit.doc, 13, function() {
                                        self.sync();
                                        K('form[name=example]')[0].submit();
                                    });
                                }
                            });
                            prettyPrint();
                        });
                    </script>
                    <!-- /KindEditor -->
                    <textarea id="c_jcontent" name="c_jcontent" style="width:780px;height:400px;" class="textArea">{$info2.c_content}</textarea>
                </td>
            </tr>
<tr>
                <td width="90" align="right">发布时间：</td>
                <td>
                    <input type="text" id="c_time" name="c_time" value="{$info2.time}" size="80" class="inpMain" />
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input name="submit" class="btn" type="submit" value="提交" />
                </td>
            </tr>
        </table>
    </form>
</div>
</div>
<div class="clear"></div>
<include file="application/walletyhbbadmin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
<script type="text/javascript">

    onload = function()
    {
        document.forms['action'].reset();
    }

    function douAction()
    {
        var frm = document.forms['action'];

        frm.elements['new_cat_id'].style.display = frm.elements['action'].value == 'category_move' ? '' : 'none';
    }

</script>
</body>
</html>